package com.doctor.bean;

import java.io.Serializable;
import java.util.List;

public class UserListBean implements Serializable{
	
	/**
	 * 用户信息列表(实际只有一条数据)
	 */

	private static final long serialVersionUID = 1L;
	
	
	private List<UserBean> dataList;
	
	
	public UserListBean(){
		super();
	}


	public UserListBean(List<UserBean> dataList) {
		super();
		this.dataList = dataList;
	}


	public List<UserBean> getDataList() {
		return dataList;
	}


	public void setDataList(List<UserBean> dataList) {
		this.dataList = dataList;
	}

	public int getSize(){
		int count=0;
		if (dataList!=null && dataList.size()>0) {
			count=dataList.size();
		}
		return count;
	}

	@Override
	public String toString() {
		return "UserListBean [dataList=" + dataList + "]";
	}
	
	
	
	
	
	
	
}
